package mini_program

import (
	"context"
	pb "git.mycaigou.com/gfyx/micro-gfyx-user-service/proto/micro_gfyx_user_service_proto/micro-gfyx-user-service"
)

type MiniProgramServiceIface interface {
	GetAccessToken(ctx context.Context) (*pb.GetAccessTokenResponse, error)
	ClearAccessTokenCache(ctx context.Context) error
	GetQRCode(ctx context.Context, request *pb.GetQRCodeRequest) (*pb.GetQRCodeResponse, error)
	GetMiniProgramOpenId(ctx context.Context, request *pb.GetMiniProgramOpenIdRequest) (*pb.GetMiniProgramOpenIdResponse, error)
	GetMobile(ctx context.Context, request *pb.GetMobileRequest) (string, error)
	GetQrCodeInfoById(ctx context.Context, request *pb.GetQrCodeInfoByIdRequest) (*pb.GetQrCodeInfoByIdResponse, error)
}
